package com.ruoyi.fs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 还款明细对象 fs_repay
 * 
 * @author hero
 * @date 2024-09-09
 */
public class FsRepay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 账单ID */
    @Excel(name = "账单ID")
    private Long billId;

    /** 还款金额 */
    @Excel(name = "还款金额")
    private BigDecimal hkje;

    /** 还款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "还款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hkrq;

    private FsBill bill;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setHkje(BigDecimal hkje) 
    {
        this.hkje = hkje;
    }

    public BigDecimal getHkje() 
    {
        return hkje;
    }
    public void setHkrq(Date hkrq) 
    {
        this.hkrq = hkrq;
    }

    public Date getHkrq() 
    {
        return hkrq;
    }

    public FsBill getBill() {
        return bill;
    }

    public void setBill(FsBill bill) {
        this.bill = bill;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billId", getBillId())
            .append("hkje", getHkje())
            .append("hkrq", getHkrq())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
